home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / e_to_l / itgraph / msvc15 / itgdefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-15  |  3.3 KB  |  129 lines

  1. // Definitions for ITGraph Constants
  2.  
  3. // Definitions needed to call the Clear Method, as follows:
  4. // <ITGraph Control>.SendMessage(VBM_METHOD, METH_CLEAR, 0L);
  5. #ifndef VBM_METHOD
  6. #define VBM_METHOD 0x1011
  7. #endif
  8. #ifndef METH_CLEAR
  9. #define METH_CLEAR 0x000A
  10. #endif
  11.  
  12. // ArrangeMode Settings
  13. #define ITG_ModeHierarchy    0
  14. #define ITG_ModeCompact        1
  15. #define ITG_ModeFlowChart    2
  16. #define ITG_ModeTree            3
  17.  
  18. // AutoArrange Settings
  19. #define ITG_ManualArrange    0
  20. #define ITG_AutoArrange        1
  21. #define ITG_ArrangeNow        2
  22.  
  23. // AutoMouseEvent Mouse Buttons
  24. #define ITG_LeftButton        0
  25. #define ITG_MiddleButton    1
  26. #define ITG_RightButton        2
  27.  
  28. // AutoMouseEvent Key Modifiers
  29. #define ITG_ShiftDown        1
  30. #define ITG_CtrlDown            2
  31. #define ITG_AltDown            4
  32.  
  33. // AutoMouseEvent Action Flags
  34. #define ITG_ameNone            0
  35. #define ITG_ameMouseEvent    1
  36. #define ITG_ameConnect        2
  37. #define ITG_ameConstrained    4
  38. #define ITG_ameDrag            8
  39. #define ITG_ameSelect        16
  40. #define ITG_ameResize        32
  41.  
  42. // ConnectionAlign Settings
  43. #define ITG_AlignLeft        0
  44. #define ITG_AlignCenter        1
  45. #define ITG_AlignRight        2
  46.  
  47. // ConnectionArrow Settings
  48. #define ITG_AHNone            0
  49. #define ITG_AHSolid            1
  50. #define ITG_AHHollow            2
  51. #define ITG_AHOutline        3
  52. #define ITG_AHSOlidCircle    4
  53. #define ITG_AHHollowCircle    5
  54.  
  55. // DrawBackLings Settings
  56. #define ITG_NoBackLinks            0
  57. #define ITG_SolidBackLinks        1
  58. #define ITG_DashedBackLinks    2
  59.  
  60. // DrawDir Settings
  61. #define ITG_RightToLeft        0
  62. #define ITG_LeftToRight        1
  63. #define ITG_BottomToTop        2
  64. #define ITG_TopToBottom        3
  65.  
  66. // GraphicAllowImport Settings
  67. #define ITG_NoImportGraphics    0
  68. #define ITG_ImportGraphics        1
  69. #define ITG_ModifyDTGraphics    2
  70. #define ITG_DeleteDTGraphics    3
  71.  
  72. // ItemShape Settings
  73. #define ITG_ShapeNone                0
  74. #define ITG_ShapeDefault            1
  75. #define ITG_ShapeRectangle            1
  76. #define ITG_ShapeEllipse            2
  77. #define ITG_ShapeRoundRect            3
  78. #define ITG_ShapeParallelogram1    4
  79. #define ITG_ShapeParallelogram2    5
  80. #define ITG_ShapeHexagon            6
  81. #define ITG_ShapePage                7
  82. #define ITG_ShapeDiamond            8
  83. #define ITG_ShapeOctagon            9
  84. #define ITG_ShapePapers1            10
  85. #define ITG_ShapePapers2            11
  86.  
  87. // ItemGraphicAlign and ItemLabelAlign Settings
  88. #define ITG_AlignTopLeft        0
  89. #define ITG_AlignTopCenter        1
  90. #define ITG_AlignTopRight        2
  91. #define ITG_AlignMiddleLeft    3
  92. #define ITG_AlignMiddleCenter    4
  93. #define ITG_AlignMiddleRight    5
  94. #define ITG_AlignBottomLeft    6
  95. #define ITG_AlignBottomCenter    7
  96. #define ITG_AlignBottomRight    8
  97.  
  98. // ItemGraphicStyle Settings
  99. #define ITG_GraphicNone                0
  100. #define ITG_GraphicIconFill        1
  101. #define ITG_GraphicIconFillIso    2
  102. #define ITG_GraphicShapeFill        3
  103. #define ITG_GraphicShapeFillIso    4
  104.  
  105. // QueryState Settings
  106. #define ITG_QueryNone                        0
  107. #define ITG_QueryGetSources                1
  108. #define ITG_QueryGetTargets                2
  109. #define ITG_QueryGetConnections            3
  110. #define ITG_QueryGetSelectRectItems        4
  111. #define ITG_QueryIterate                    5
  112. #define ITG_QueryMatchItemId                6
  113. #define ITG_QueryMatchItemData            7
  114. #define ITG_QueryMatchConnectionId        8
  115. #define ITG_QueryMatchConnectionData    9
  116.  
  117. // RubberBand Settings
  118. #define ITG_RBNone        0
  119. #define ITG_RBItems        1
  120. #define ITG_RBHandles    2
  121. #define ITG_RBBoth        3
  122.  
  123. // StoreGraphics Settings
  124. #define ITG_NoLoadGraphics        0
  125. #define ITG_NoSaveGraphics        1
  126. #define ITG_SaveUsedGraphics    2
  127. #define ITG_SaveRTGraphics        3
  128. #define ITG_SaveDTGraphics        4
  129.